package teshop.dao;

import java.util.List;

import teshop.domain.Movie;


/**
 * Movie DAO Contract interface
 * Created: 24.02.2009
 * @author Hryhory Lira
 *
 */
public interface MovieDAO {

	Movie loadById(Long id);
	
	void persist(Movie movie);
	
	void update(Movie movie);
	
	void delete(Movie movie);
	
	List<Movie> loadAll();
	
	public List<Movie> findByTitle(String title);
}
